from django.urls import path

from .views.dicts import DictListApiView
from .views.file import FileListApiView
from .views import DictListView,FileListView

urlpatterns = [
    # 服务端
    path('api/dictionary', DictListApiView.as_view(), name='dictionaryApi'),
    path('api/file', FileListApiView.as_view(), name='fileApi'),

    # 前端
    path('dictionary', DictListView.as_view(), name='dictionary'),
    path('file',FileListView.as_view(),name= 'file')
]